package thread2;

public class TestDemo {
    public static void main(String[] args) {
        MyThread thread= new MyThread();
        MyThread thread2= new MyThread();
        thread.setName("飞机");
        thread2.setName("坦克");
        thread.start();
        thread2.start();
    }
}
